package server.reids;

public class RedisUtil {

    public static String createKey(String... fragments) {
        StringBuffer buffer = new StringBuffer();
        for (String fragment : fragments) {
            buffer.append(fragment).append(":");
        }
        return buffer.substring(0, buffer.length() - 1);
    }

}